package com.krtech.wecard.module.pub.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@ApiModel(value = "com-krtech-wecard-module-pub-entity-TnNotify")
@Data
@TableName(value = "tn_notify")
public class TnNotify implements Serializable {
    @TableId(value = "notify_id", type = IdType.AUTO)
    @ApiModelProperty(value = "")
    private Long notifyId;

    @TableField(value = "extend")
    @ApiModelProperty(value = "")
    private String extend;

    /**
     * 内容
     */
    @TableField(value = "notify_content")
    @ApiModelProperty(value = "内容")
    private String notifyContent;

    /**
     * 标题
     */
    @TableField(value = "notify_title")
    @ApiModelProperty(value = "标题")
    private String notifyTitle;

    /**
     * 落款
     */
    @TableField(value = "notify_fall_paper")
    @ApiModelProperty(value = "落款")
    private String notifyFallPaper;

    /**
     * 摘要
     */
    @TableField(value = "notify_abstract")
    @ApiModelProperty(value = "摘要")
    private String notifyAbstract;

    /**
     * 附件
     */
    @TableField(value = "attachment")
    @ApiModelProperty(value = "附件")
    private String attachment;

    /**
     * 发送方式
     */
    @TableField(value = "send_function")
    @ApiModelProperty(value = "发送方式")
    private Integer sendFunction;

    /**
     * 推送范围（根据部门）根据人，或者部门混着人
     */
    @TableField(value = "notify_push_scope")
    @ApiModelProperty(value = "推送范围（根据部门）根据人，或者部门混着人")
    private Integer notifyPushScope;

    @TableField(value = "notify_created_time")
    @ApiModelProperty(value = "")
    private Date notifyCreatedTime;

    @TableField(value = "notify_email")
    @ApiModelProperty(value = "")
    private Boolean notifyEmail;

    @TableField(value = "notify_sender_user_id")
    @ApiModelProperty(value = "")
    private Long notifySenderUserId;

    @TableField(value = "notify_sender_user_name")
    @ApiModelProperty(value = "")
    private String notifySenderUserName;

    @TableField(value = "notify_sms")
    @ApiModelProperty(value = "")
    private Boolean notifySms;

    @TableField(value = "notify_target_content")
    @ApiModelProperty(value = "")
    private String notifyTargetContent;

    @TableField(value = "notify_target_type")
    @ApiModelProperty(value = "")
    private String notifyTargetType;

    @TableField(value = "notify_target_url")
    @ApiModelProperty(value = "")
    private String notifyTargetUrl;

    @TableField(value = "notify_type")
    @ApiModelProperty(value = "")
    private Integer notifyType;

    @TableField(value = "notify_wechat")
    @ApiModelProperty(value = "")
    private Boolean notifyWechat;

    @TableField(value = "user_id")
    @ApiModelProperty(value = "")
    private Long userId;

    @TableField(value = "notify_target_type_id")
    @ApiModelProperty(value = "")
    private Long notifyTargetTypeId;

    @TableField(value = "notify_target_type_name")
    @ApiModelProperty(value = "")
    private String notifyTargetTypeName;

    @TableField(value = "notify_target_files")
    @ApiModelProperty(value = "")
    private String notifyTargetFiles;

    @TableField(value = "notify_target_icon")
    @ApiModelProperty(value = "")
    private String notifyTargetIcon;

    @TableField(value = "notify_target_biz_status")
    @ApiModelProperty(value = "")
    private String notifyTargetBizStatus;

    @TableField(value = "notify_target_description")
    @ApiModelProperty(value = "")
    private String notifyTargetDescription;

    @TableField(value = "notify_bpm_type")
    @ApiModelProperty(value = "")
    private String notifyBpmType;

    /**
     * 菜单ID
     */
    @TableField(value = "menu_id")
    @ApiModelProperty(value = "菜单ID")
    private Long menuId;

    @TableField(value = "count_person")
    @ApiModelProperty(value = "")
    private Integer countPerson;

    @TableField(value = "read_count")
    @ApiModelProperty(value = "")
    private Integer readCount;

    @TableField(value = "wechat_mark")
    @ApiModelProperty(value = "")
    private String wechatMark;

    /**
     * 移动页面地址
     */
    @TableField(value = "app_url")
    @ApiModelProperty(value = "移动页面地址")
    private String appUrl;

    /**
     * 微信消息已读人数
     */
    @TableField(value = "wechat_readed")
    @ApiModelProperty(value = "微信消息已读人数")
    private Integer wechatReaded;

    /**
     * 部门list
     */
    @TableField(value = "dept_list")
    @ApiModelProperty(value = "部门list")
    private String deptList;

    /**
     * 角色list
     */
    @TableField(value = "role_list")
    @ApiModelProperty(value = "角色list")
    private String roleList;

    /**
     * 用户list
     */
    @TableField(value = "user_list")
    @ApiModelProperty(value = "用户list")
    private String userList;

    @TableField(value = "keyword1")
    @ApiModelProperty(value = "")
    private String keyword1;

    @TableField(value = "keyword2")
    @ApiModelProperty(value = "")
    private String keyword2;

    @TableField(value = "keyword3")
    @ApiModelProperty(value = "")
    private String keyword3;

    @TableField(value = "keyword4")
    @ApiModelProperty(value = "")
    private String keyword4;

    @TableField(value = "keyword5")
    @ApiModelProperty(value = "")
    private String keyword5;

    /**
     * 是否打开url
     */
    @TableField(value = "has_open_url")
    @ApiModelProperty(value = "是否打开url")
    private Integer hasOpenUrl;

    private static final long serialVersionUID = 1L;

    public static final String COL_NOTIFY_ID = "notify_id";

    public static final String COL_EXTEND = "extend";

    public static final String COL_NOTIFY_CONTENT = "notify_content";

    public static final String COL_NOTIFY_TITLE = "notify_title";

    public static final String COL_NOTIFY_FALL_PAPER = "notify_fall_paper";

    public static final String COL_NOTIFY_ABSTRACT = "notify_abstract";

    public static final String COL_ATTACHMENT = "attachment";

    public static final String COL_SEND_FUNCTION = "send_function";

    public static final String COL_NOTIFY_PUSH_SCOPE = "notify_push_scope";

    public static final String COL_NOTIFY_CREATED_TIME = "notify_created_time";

    public static final String COL_NOTIFY_EMAIL = "notify_email";

    public static final String COL_NOTIFY_SENDER_USER_ID = "notify_sender_user_id";

    public static final String COL_NOTIFY_SENDER_USER_NAME = "notify_sender_user_name";

    public static final String COL_NOTIFY_SMS = "notify_sms";

    public static final String COL_NOTIFY_TARGET_CONTENT = "notify_target_content";

    public static final String COL_NOTIFY_TARGET_TYPE = "notify_target_type";

    public static final String COL_NOTIFY_TARGET_URL = "notify_target_url";

    public static final String COL_NOTIFY_TYPE = "notify_type";

    public static final String COL_NOTIFY_WECHAT = "notify_wechat";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_NOTIFY_TARGET_TYPE_ID = "notify_target_type_id";

    public static final String COL_NOTIFY_TARGET_TYPE_NAME = "notify_target_type_name";

    public static final String COL_NOTIFY_TARGET_FILES = "notify_target_files";

    public static final String COL_NOTIFY_TARGET_ICON = "notify_target_icon";

    public static final String COL_NOTIFY_TARGET_BIZ_STATUS = "notify_target_biz_status";

    public static final String COL_NOTIFY_TARGET_DESCRIPTION = "notify_target_description";

    public static final String COL_NOTIFY_BPM_TYPE = "notify_bpm_type";

    public static final String COL_MENU_ID = "menu_id";

    public static final String COL_COUNT_PERSON = "count_person";

    public static final String COL_READ_COUNT = "read_count";

    public static final String COL_WECHAT_MARK = "wechat_mark";

    public static final String COL_APP_URL = "app_url";

    public static final String COL_WECHAT_READED = "wechat_readed";

    public static final String COL_DEPT_LIST = "dept_list";

    public static final String COL_ROLE_LIST = "role_list";

    public static final String COL_USER_LIST = "user_list";

    public static final String COL_KEYWORD1 = "keyword1";

    public static final String COL_KEYWORD2 = "keyword2";

    public static final String COL_KEYWORD3 = "keyword3";

    public static final String COL_KEYWORD4 = "keyword4";

    public static final String COL_KEYWORD5 = "keyword5";

    public static final String COL_HAS_OPEN_URL = "has_open_url";
}